<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2023/4/2
  Time: 14:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>跳转</title>
</head>
<body>
<%--
    response.sendRedirect("https://www.baidu.com");
--%>
<%--<c:redirect url="https://www.baidu.com"></c:redirect>--%>

<c:redirect url="https://www.baidu.com/s">
    <%--发送过去的参数--%>
    <c:param name="wd" value="美国"/>
</c:redirect>
</body>
</html>
